SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '283fbb9423d678314a3fea7d78b0290d0ccb522cfda529a7c2a16fa33e5f3592' 
  AND token = 'cK7GbuXQAD1SLe5iLLbFY0bJ66g0Y3qg2UqwoqQ5Efw=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00055

JSON explain

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