SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '758dd3a942cd7f190a7456ccf9f589f32a897180a493a2679af53ba8d3e11be8' 
  AND token = 'fY/TepA0gcP7CI3Tu5nD6g/94KXd2bH4pxMwkBS6daU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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