SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '79bdb7d16de81ded3fa9e58523c77031f3a4de9253e165af9d0fd5192bb4fccd' 
  AND token = 'K/Vy8/tgJE79/6zkB4GYZe36b5Q+dS+NS7Mi7HtVgUg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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