SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25024d692d598c4b8bab029c1aa0b0ae742324a37b671652baf210c3f1b517eb' 
  AND token = 'r5N3REnWLQbCP+E3a0TuH3jSh7Vev0twjmosqNQZmOY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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