SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3b85102f2e088b04d23810aa2b69037ce5fe40d535bb74513b37111cf8227838' 
  AND token = '3U9BB1ufMIf8Qf9zgMUUd9Gh1xJpNMS/JLgFe0WtcQA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00050

JSON explain

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