SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '38e2c5761653a4bb109190f9c6ddaebf6604cae19b28d89e262684d0f6790642' 
  AND token = '/U/nnWrQlp7jol/c+6Jiy5j8BYzyojscynljkCTphqI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00046

JSON explain

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