SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5290b2d10d944e63f566cc0c6ec6a346ac8db998ba5d161c547b95c5892af97f' 
  AND token = 'y8AGdn7yqAZROmMXcl25lINte1rmQoeFdIk3zXANLc0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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