SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2f5e10f73e7fefcba8f58d71bd2c3a52db01d7452066ad0a1ea7ec2867e9e006' 
  AND token = 'Pn+ao7Yy7c+bZLxhyhAAhTKGnzN/QuO+EyIOvxhQ4/w=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00019

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}