SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4a4d880745d549d8f725312b49973f0498274bf177ce8097eaa9bc5763935937' 
  AND token = 'mdYYTBY1Dtgybkf5wg8cOCJIwwUSSkYUCJ8hnf+VLJc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00023

JSON explain

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