SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '340810cfc957f4d509b57d84e9b31c6dd775c788e37e1002e160b8f37211e735' 
  AND token = '01jxBY77SKOPJiC8BWo1erx/a2hIWcJ+QoeO/9LrgeY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

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