SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '584a7bd093617cfee386e96afcd715ebf1a2d1ad4da95d39ab49ff3790dd5244' 
  AND token = 'e74X9y97oa0eIufK0ETje+6SycnSqD/CL5FTt8oEhZM=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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