SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '20c8300c72ace4e7bead11f56a25bdda5991214662a8161e94bf384b443f96a0' 
  AND token = '0P/y8p4pnffwISsLmNQ+Q9KUjlX3tnIh0o6Ug/URHl8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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