SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '0a851d6718d04f3841699fef00058fcc381ada0428d88aef28ef797d519cd420' 
  AND token = 'zpRgvOT8hfv0IpVl7tKsqh1/fFaP66dcRyCQIM/E6H4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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