SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '746fa1092752d98050062867f09be762934a0f76dff48115ce401ca7e995005a' 
  AND token = 'qSsYAN2tm5Hq4n6ePN8edX2bMd51iNpwMdpOqU1/5Is=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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