SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2dfc75b5434e98732f29b28db72336c174801030bbf18dcdcc9bfe83c96b24cc' 
  AND token = 'fPNt0mwjg+iogMTFZFQ/fyEqXaOKf2pkJQdBJ69fg8Y=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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