SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '078b665cc8e2a228e85a92a0798d782792547a6b74edbfc42be6ab6de5a83fd5' 
  AND token = '097WYmbq/iitQBc6Jj9NcvIrq+HUTdxPECWEt72XtvE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00045

JSON explain

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