SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b1a762bc5e75ea3822dcd419cff0298afb44325f87df408f10ebb5e75a5e86d2' 
  AND token = 'X3yuDyVw9boAoWzCL649ZsFLNhFvCkfhA/Dyb2oO6vw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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