SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '5baa2679eee7188f8fb1128b7549743c0c1c7d356517d6f3c29f34e63162df4a' 
  AND token = 'TuI02U3r11/xPJS0+eC+fm8zl041gsztMD2NW4gepRI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00020

JSON explain

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