SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '687501af8a3abd599eadfed9f7d1ea9bcdccec0a496a445fc5f5bb5217d9e0b1' 
  AND token = 'qJl8h6CKlvFJXCN58Cq7Ecl4XB1vI8AiHePBpKns8k0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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