SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '42a878271ee1f30e178122d9069a888542056e2ab66068597f22c075b49d2165' 
  AND token = '7w8+PddnaQ5RobQT46UB13PKHOPw5T+wYgMQ79rh6Dc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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