SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5c69d850d550c01d6391502b61403aa8922b0162089fff8e254a71ac0491b90a' 
  AND token = 'b7AvLTnaWunenZ8Bk796aEXM0Ocp5VSba5jyNg0xqmw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00047

JSON explain

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