SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3f774545674d7eabcfbe41b592af5790c47c5ba7391b8d9765f7e51c1019e42f' 
  AND token = 'A7hVYAfDYD1Wi8ePDeV/N0l+gKNl7mBuavqYTHy/Tlo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00033

JSON explain

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