SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'cc8c24d16db558accf02eeb84e91e7e5dd9d7f1ad4dd4b05ad9ad9ddb4996c12' 
  AND token = 'j/gmKCCzEFULe/efyMZH0DsHtNZC5v1j1+KLiNLcOug=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00049

JSON explain

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