SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a5a5a84d224c14fde4e9ef9cae1bf2ea5cac15e763a2cb4b042c82887b94a4ca' 
  AND token = 'cWfyyA19dKDrPHpgOsz739aNNwMdJuZoK/8cOpcUHyw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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