SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '49447f384151747aadffa4d6b7f631bc867747e432a469fcb39ed7525107e78b' 
  AND token = 'D3jCqf6v9ck1dWn0ymc9S7s/ewWvP3vfOTohPgJjI3E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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