SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef8984c218889a7a7ea57d5186a9536a901de873c7d7f4a020adf597f9765f74' 
  AND token = 'cxDDHaxMnTfRy8XTumQ1/KZbSiTeMjR/1jf5Zbw4mWs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00039

JSON explain

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