SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'dfe99e13efdb5d4f72792a3fe93461698445590d532ac5705d35bb267d7eef42' 
  AND token = 'rcKI+gX9QCOMB4LuGW0xCYJjH9Ayfx1Qyrkr12c5MpY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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