SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '840c8a8e5094cf5377786050629dd7da9a92d31a075e8c09c774295096234be3' 
  AND token = 'BqWSCEMfaIhdGvt3YpuBbFGfq5M6pQ6d7xYRG86ElUE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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